package com.xhf.tools;

import org.apache.commons.io.FileUtils;

import java.io.File;
import java.io.IOException;

public class FileUtil {
    public static String readFile(String filePath) throws IOException {
        File file = new File(filePath);
        String content = FileUtils.readFileToString(file);
        return content;
    }
}
